Feature: Skill's Manager
  This function group manages skills and skill sets. Controls the addition of skills to a registered user's profile and
  skill proposals. Allows administrators to handle these proposals and to declare new skills.

  Scenario: Propose A New Skill
    Given i am an user
    And i am not an administrator
    When i fill out the new skill's form with dummy
    And i press on the submit button
    Then dummy skill should be added to the skills proposals queue
    And the system should send me a notification alert "Skill proposal to be moderated"

  Scenario: Propose A New Skill When You Exceed Your Daily Quota
    Given i am a user
    And i am not an administrator
    When i fill out the new skill's form with dummy
    And i press on the submit button
    But i exceeded my Daily Skills Quota
    Then the system should send me a warning alert "You exceeds your daily skills quota. Propose others tomorrow."

  Scenario: Approve Skills
    Given i am an administrator
    And foo proposed dummy skill
    When i press on dummy skill "Approve" button
    Then dummy skill should be inserted in the skill list
    And dummy skill should be removed from the approval queue
    And the system should send me a notification alert "Dummy skill approved"
    And the system should send foo an email with "Dummy skill approved"
    And foo should have a dummy skill

  Scenario: Remove Proposed Skills From Approval Queue
    Given i am an administrator
    And foo proposed dummy skill
    When i press on dummy skill "Remove" button
    Then dummy skill should be removed from the approval queue
    And the system should send me a notification alert "Dummy skill removed from approval queue"
    And the system should send foo an email with "Dummy skill not approved"

  Scenario: Declare New Skills
    Given i am an administrator
    When i fill out the "Add new skill" form with dummy skill
    And i press on the submit button
    Then dummy skill should be inserted in the skills list
    And the system should send me a notification alert "Dummy skill approved"

  Scenario: Provide Feedback On A User Skill (Registered User)
    Given i am an user
    When i fill out the "Provide a feedback" form with k points for dummy skill for user foo
    And k is greater then 0
    And k is less then or equal to 5
    And i press the "Send feedback" button
    Then foo should have a new feedback regarding their dummy skill with k points
    And the system should notify foo of new feedbacks

  Scenario: Provide Feedback On A User Skill (Unregistered User)
    Given i am not logged in
    When i fill out the "Provide a feedback" form with k points for dummy skill for user foo
    And i press the "Send feedback" button
    Then the system should send me a notififcation alert "Login to review this skill <LOGIN LINK>"

  Scenario: Add A Skill
    Given i am a user
    When i select foo skill from the ones available
    And i click on the add button
    Then i should have the foo skill
    And the system should send me a notification alert "Skill foo added"

  Scenario: Remove A Skill
    Given i am a user
    When i click on dummy skills remove button
    Then i should no longer have the dummy skill
    And the system should send me a notification alert "Skill foo removed"
